import request from '@/config/axios'

export const valueConfGetByValue = async (params) => {
  return await request.get({
    url: '/amp/data-assurance-value-conf/getByValue',
    params
  })
}


export const valueConfGetByValueTree = async (params) => {
  return await request.get({
    url: '/amp/data-assurance-value-conf/getByValueTree',
    params
  })
}

export const valueConfCreateBatch = async (data) => {
  return await request.post({
    url: '/amp/data-assurance-value-conf/createBatch',
    data
  })
}
export const valueConfFieldValue = async (params) => {
  return await request.get({
    url: '/amp/data-assurance-value-conf/getFieldValue',
    params
  })
}
export const valueConfFieldImportExcel = async (data) => {
  return await request.post({
    url: '/amp/data-assurance-value-conf/import-excel',
    data
  })
}
